package com.bfsoft.springbootinit.pojo.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>工作流任务<p>
 *
 * @author Tony
 * @date 2021-04-03
 */
@Getter
@Setter
@Schema ( description = "工作流任务相关-返回参数" )
public class FlowTask implements Serializable {

	@Schema ( description = "流程编号" )
	private String processInstanceId;

	@Schema ( description = "流程名称" )
	private String processDefinitionName;

	@Schema ( description = "流程类型" )
	private String processDefinitionCategory;

	@Schema ( description = "流程版本" )
	private int processDefinitionVersion;

	@Schema ( description = "开始时间" )
	private Date startTime;

	@Schema ( description = "状态" )
	private String status;

	@Schema ( description = "耗时" )
	private String duration;

	@Schema ( description = "当前节点" )
	private String currentTaskName;

	@Schema ( description = "办理人" )
	private String assignee;
}
